// SIpCollection_BPA.cpp: implementation of the CSIpCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/SIpCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CSIpCollection_BPA::CSIpCollection_BPA()
{

}

CSIpCollection_BPA::~CSIpCollection_BPA()
{

}

CSIp_BPA* CSIpCollection_BPA::GetFirstSIp()
{
	return (CSIp_BPA*)CCardCollection_BPA::GetFirstCard();
}

CSIp_BPA* CSIpCollection_BPA::Traverse(CSIp_BPA *pSIp, int nDirection)
{
	return (CSIp_BPA*)CCardCollection_BPA::Traverse(pSIp,nDirection);
}

CSIp_BPA* CSIpCollection_BPA::GetSIp(char *strBusName, double dkV, char nID)
{
	CSIp_BPA tempSIp;
	strcpy(tempSIp.m_strName,strBusName);
	tempSIp.m_dkV = dkV;
	tempSIp.m_chID = nID;
	return (CSIp_BPA*)CCardCollection_BPA::GetCard(&tempSIp);
}